package com.qf.edu.entity;

import java.math.BigDecimal;

/**
 * @author:huayuzhuo
 * @email:2798866329@qq.com
 * @desc:药品发放类
 * @datatime: 2022/5/29 11:59
 */
public class Drugsgrant {
    private int id;
    private String idNumber;
    private String name;
    private String drugsname;
    private BigDecimal price;
    private int number;
    private BigDecimal total;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDrugsname() {
        return drugsname;
    }

    public void setDrugsname(String drugsname) {
        this.drugsname = drugsname;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public Drugsgrant() {
    }

    public Drugsgrant(int id, String idNumber, String name, String drugsname, BigDecimal price, int number, BigDecimal total) {
        this.id = id;
        this.idNumber = idNumber;
        this.name = name;
        this.drugsname = drugsname;
        this.price = price;
        this.number = number;
        this.total = total;
    }

    @Override
    public String toString() {
        return "Drugsgrant{" +
                "id=" + id +
                ", idNumber='" + idNumber + '\'' +
                ", name='" + name + '\'' +
                ", drugsname='" + drugsname + '\'' +
                ", price=" + price +
                ", number='" + number + '\'' +
                ", total=" + total +
                '}';
    }
}
